#ifndef ROH_TEAM_H
#define ROH_TEAM_H

/*  Copyright #[RELEASE_DATE]# Francesco Gaudenzi francesco.gaudenzi@gaudo.net

    This file is part of "Rage of Heroes".

    "Rage of Heroes" is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    "Rage of Heroes" is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with "Rage of Heroes".  If not, see <http://www.gnu.org/licenses/>.
*/

#include <iosfwd>

namespace RageOfHeroes {
class Team {
  public:
    enum class Side: short {
      light,
      dark
    };
    
    Team();
    ~Team();
    
    void AddPlayer(const ROH::Player& player);
    void RemovePlayer(const ROH::Player& player);
  
  private:
    void set_side(const Side& side);
    void set_name(const std::string name);
    
    std::vector<ROH::Player&> players_;
    Side side_;
    std::string& name_;
};
}

#endif
